package com.csp.mingyue.system.api.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

/**
 * @author Strive
 */
@Data
@Schema(description = "登录用户信息")
@NoArgsConstructor
public class LoginUser implements Serializable {

	private static final long serialVersionUID = 1L;

	@Schema(description = "用户ID")
	private Long userId;

	@Schema(description = "用户名")
	private String username;

	@Schema(description = "用户昵称")
	private String nickname;

	@Schema(description = "密码")
	private String password;

	@Schema(description = "手机号")
	private String phone;

	@Schema(description = "用户邮箱")
	private String email;

	@Schema(description = "菜单权限")
	private Set<String> menuPermission;

	@Schema(description = "角色权限")
	private Set<String> rolePermission;

}
